home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 47.7z
/
BS1 part 47
/
ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 4 of 7)[HD].7z
/
ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 4 of 7)[HD].adf
/
apa.lzh.parta
/
hlp_arexx4
< prev
next >
Wrap
Text File
|
1994-03-17
|
21KB
|
795 lines
\ApAssist
\: - This is the Quick Help for the ARexx in IM R/t -
\: ----------------------------------------------------------
\: Written by David E. Patterson
\: ----------------------------------------------------------
\font topaz.font 8
\tc 1
\wr
\lj
\dd "imh_descriptor"
\index "hlp_arexx2/absadd-askstring"
\toc "imh_toc/toc"
\help "aa_help/help
\node "absadd"
\title "Absolute Add"
\next "abssub"
\prev ""
\{ \tc 15 Absadd \} - Absolute add of secondary buffer to the primary buffer.
Adds the secondary to the primary and produces the absolute sum of both. If
the primary buffer and secondary buffer are middle grays the result will be
white.
\nw
Usage - '\{ \tc 15 absadd\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 absadd\} ';
See also: \{ \nw \ts b \link "abssub" "abssub"
\link "add " "add"\}
* User Interface: \{ \tc 15 Compose Panel
Algebraic Compositions
Add Absolute\}
\endnode
\node "abssub"
\title "Absolute Subtract"
\next "actpri"
\prev "absadd"
\{ \tc 15 Abssub \} - Absolute subtract of secondary buffer from primary
buffer.
The Secondary Buffer is subtracted from the Primary Buffer. If an area of the
Primary image is an intermediate gray and the corresponding Secondary Buffer
area is intermediate gray the resulting image area will be black.
\nw
Usage - '\{ \tc 15 abssub\} ' (No Parameters)
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 abssub\} ';
See also: \{ \ts b \link "absadd" "absadd"
\link "add " "add"\}
* User Interface: \{ \tc 15 Compose Panel
Algebraic Compositions
Absolute Subtract\}
\endnode
\node "actpri"
\title "Actual Primary"
\next "add"
\prev "abssub"
\{ \tc 15 Actpri \} - Reports primary buffer number
Reports the preserved old primary buffer number during a multi-frame
sequence. In the \{ \ts i \ts b Multi-Frame Sequence \} panel use \{ \ts i
\ts b Add Scripts\} , and add the script containing 'actpri' as a pre-
render script.
\nw
Usage - '\{ \tc 15 actpri\} ' (No Parameters)
\{ \ts bu Sample Script\} :
options results;
\{ \tc 15 actpri\} ;
prime = results;
say "Old Primary is buffer number:" prime;
options;
\endnode
\node "add"
\title "Add"
\next "addasb"
\prev "actpri"
\{ \tc 15 Add \} - Adds the secondary buffer and primary buffer together.
The secondary buffer image is added to the primary buffer. The resulting
image is an average of the two images.
\nw
Usage - '\{ \tc 15 add\} '
\{ \ts bu Sample Script:\}
'area';
'\{ \tc 15 add\} ';
See also: \{ \ts b \link "absadd" "absadd"
\link "abssub" "abssub"\}
* User Interface: \{ \tc 15 Compose Panel
Algebraic Compositions
Add\}
\endnode
\node "addasb"
\title "Add As Blue"
\next "addasc"
\prev "add"
\{ \tc 15 Addasb \} - \{ \tc 15 Blue \} element of secondary buffer is added
to primary buffer.
Adds the \{ \tc 15 blue \} element of the secondary buffer image to the
primary buffer. If the red, green, and blue are added one at a time to a
black buffer the secondary buffer is recreated in the primary buffer.
\nw
Usage - '\{ \tc 15 addasb\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasb\} ';
See also: \{ \ts b \link "addasc" "addasc"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 15 Compose Panel
Color Re-Combinations
Add as Blue\}
\endnode
\node "addasc"
\title "Add As Cyan"
\next "addasg"
\prev "addasb"
\{ \tc 15 Addasc \} - The \{ \tc 12 Cyan \} element of the secondary buffer
is added to the primary buffer.
Adds the \{ \tc 12 Cyan \} element of the secondary buffer image to the
primary buffer. When cyan, magenta, yellow and black (from a CMYK Color
Separation) are added one at a time to a white buffer, the full color image
is recreated in the Primary Buffer. Note RGB are additive, while CMYK are
subtractive.
\nw
Usage - '\{ \tc 15 addasc\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasc\} ';
See also: \{ \ts b \link "addasb" "addasb"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 15 Compose Panel
Color Re-Combinations
Add as Cyan\}
\endnode
\node "addasg"
\title "Add As Green"
\next "addask"
\prev "addasc"
\{ \tc 15 Addasg \} - \{ \tc 10 Green \} element of the secondary buffer is
added to the primary buffer.
Adds the \{ \tc 10 Green \} element of the secondary buffer image to the
primary buffer. If the red, green, and blue components of the secondary
buffer were added to a black primary buffer, the secondary buffer would be
recreated in the primary buffer.
\nw
Usage - '\{ \tc 15 addasg\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasg\} ';
See also: \{ \ts b \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 15 Compose Panel
Color Re-Combinations
Add as Green\}
\endnode
\node "addask"
\title "Add As Black"
\next "addasm"
\prev "addasg"
\{ \tc 15 Addask \} - Black element of the secondary buffer is added to the
primary buffer.
Adds the Black element of the secondary buffer image to the primary buffer.
If Cyan, Magenta, Yellow, and black (from a CMYK Color Separation) are added
to an all white primary buffer, the full color image is recreated in the
primary.
\nw
Usage - '\{ \tc 15 addask\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addask\} ';
See also: \{ \ts b \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addasg" "addasg"
\link "addasm" "addasm"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 15 Compose Panel
Color Re-Combinations
Add as Black\}
\endnode
\node "addasm"
\title "Add As Magenta"
\next "addasr"
\prev "addask"
\{ \tc 15 Addasm \} - \{ \tc magenta Magenta \} element of the secondary
buffer is added to the primary buffer.
Adds the \{ \tc magenta Magenta \} element of the Secondary Buffer image to
the primary buffer. When Cyan, Magenta, Yellow and blacK (from a CMYK Color
Separation) are added one at a time to a white buffer, the full color image
is recreated in the primary buffer. Note RGB are additive, while CMYK are subtractive.
\nw
Usage - 'addasm'
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasm\} ';
See also: \{ \ts b \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 15 Compose Panel
Color Re-Combinations
Add as Magenta\}
\endnode
\node "addasr"
\title "Add As Red"
\next "addasy"
\prev "addasm"
\{ \tc 15 Addasr \} - \{ \tc 9 Red \} element of the secondary buffer is
added to the primary buffer.
Adds the \{ \tc 9 Red \} element of the secondary buffer image to the primary
buffer. If the red, green, and blue components of the secondary buffer are
added to an all black primary buffer, the secondary buffer is recreated in
the primary buffer.
\nw
Usage - '\{ \tc 15 addasr\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasr\} ';
See also: \{ \nw \ts b \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 15 Compose Panel
Color Re-Combinations
Add as Red\}
\endnode
\node "addasy"
\title "Add AS Yellow"
\next "allowcancel"
\prev "addasr"
\{ \tc 15 Addasy \} - \{ \tc yellow Yellow \} element of the secondary buffer
is added to the primary buffer.
Adds the \{ \tc yellow Yellow \} element of the secondary buffer image to the
primary buffer. If the cyan, magenta, yellow and black components (from a
CMYK Color Separation) are added to an all white primary buffer, the full
color image is recreated in the primary.
\nw
Usage - '\{ \tc 15 addasy\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasy\} ';
See also: \{ \ts b \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasr" "addasr"\}
* User Interface: \{ \tc 15 Compose Panel
Color Re-Combinations
Add as Yellow\}
\endnode
\node "allowcancel"
\title "Allow Cancel"
\next "amigarender"
\prev "addasy"
\{ \tc 15 Allowcancel \} - Controls the use of the \{ \ts i \ts b Cancel \}
gadget.
This Arexx command will enable or disable the cancel gadget.
\nw
Usage - '\{ \tc 15 allowcancel yes\} '
'\{ \tc 15 allowcancel no\} '
\{ \ts bu Sample Script\} :
if(flag = 0) then;
do
'\{ \tc 15 allowcancel no\} ';
end;
See also: \{ \ts b \link "cancel" "hlp_arexx5/cancel"\}
\endnode
\node "amigarender"
\title "Amiga Render"
\next "anti"
\prev "allowcancel"
\{ \tc 15 Amigarender \} - Creates viewable Amiga image files.
Renders to Amiga modes, based upon the nine possible parameters.
\nw
Usage - '\{ \tc 15 amigarender [PARAM:value]\} '
\{ \ts bu Sample Script\} :
'renderpath ram:'
'renderext .iff'
'entire'
'\{ \tc 15 amigarender RES:hi MOD:reg PLANES:4 D:12 NAME:myimage\} '
'finish'
\{ \ce \{ \ts bu Parameters\} :\}
\nw
RES:xxx LO,HI,SUPER Display resolution
PLANES:n 1 through 8 Image Bit depth
DEPTH:n 12 or 24 Palette depth
MODE:xxx REG,HALFBRITE (or HB),HAM Display mode
LACE:xxx YES or NO Display interlace
WIDTH:nnnn Render output width
HEIGHT:nnnn Render output height
USEPALETTE:xxx YES or NO Use existing palette
COLORS:nn 2 to 256 # of Colors to render
NAME:ttttttt Output name
If a parameter is omitted, in each case, the last setting is used, except
COLORS which is set to the \{ \ts i normal \} value for this mode and bit
depth.
Parameter names for 'AmigaRender' may be abbreviated to one character.
ON,OFF or (1,0) values may replace YES,NO.
\endnode
\node "anti"
\title "Anti Alias"
\next "antique"
\prev "amigarender"
\{ \tc 15 Anti \} - Smooths color changes.
This Arexx command will transforms sharp color changes to smooth color
changes.
\nw
Usage - '\{ \tc 15 anti\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 anti\} ';
See also: \{ \ts b \link "sharp" "hlp_arexx11/sharp"\}
* User Interface: \{ \tc 15 Process Panel
Filters
Anti - Alias\}
\endnode
\node "antique"
\title "Antique"
\next "area"
\prev "anti"
\{ \tc 15 Antique \} - Tints selected area yellow.
Gives the selected region an antique (yellowish) tint.
\nw
Usage - '\{ \tc 15 antique\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 antique\} ';
See also: \{ \ts b \link "unantique" "hlp_arexx11/unantique"\}
* User Interface: \{ \tc 15 Process Panel
Filters
Antique\}
\endnode
\node "area"
\title "Area"
\next "areafill"
\prev "antique"
\{ \tc 15 Area \} - Calls area control panel.
Allows the user to choose a method of region selection, by presenting the
user with an Area Control panel. Processes following area selection will be
performed within the selected area until a new area is selected.
\nw
Usage - '\{ \tc 15 area\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 area\} ';
'add';
See also: \{ \ts b \link "entire " "hlp_arexx7/entire"
\link "oval " "hlp_arexx9/oval"
\link "rect " "hlp_arexx10/rect"
\link "rectarea" "hlp_arexx10/rect"\}
\endnode
\node "areafill"
\title "Area Fill"
\next "arstate"
\prev "area"
\{ \tc 15 Areafill \} - The areafill command is used to fill regions based on
an area fill mode. The mode can be selected using the fillmode command, or
can be set in the \{ \ts b Fill Mode \} option in the \{ \ts b Paint \}
panel. The areafill command will fill the selected area with the current
fill mode when it is called.
\nw
Usage - '\{ \tc 15 areafill\} '
\{ \ts bu Sample Script\} :
/* arexx areafill Example */
address('IM_Port');
'fillmode angle';
'rangle 45';
'area';
'\{ \tc 15 areafill\} ';
'finish';
* User Interface: \{ \tc 15 Paint Panel
Area Fill\}
\endnode
\node "arstate"
\title "Auto Redraw State"
\next "askboolean"
\prev "areafill"
\{ \tc 15 Arstate \} - Checks the state of the Auto Redraw control. If the
control is on, then it returns an on state value. This will then auto redraw
the buffer. If the control is off, then it returns an off state value. This
will not allow an auto redraw of the buffer.
\nw
Usage - '\{ \tc 15 arstate\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 arstate\} ' ;
oldstate = result;
options;
Later in the script when you would like to return the state of the auto
redraw...
'autoredraw '||oldstate;
* User Interface: \{ \tc 15 Display Panel
Auto Redraw\}
\endnode
\node "askboolean"
\title "Ask Boolean"
\next "askfloat"
\prev "arstate"
\{ \tc 15 Askboolean \} - Presents boolean requester to user.
Provides the user with a three button panel with one button preset. It
returns either a \{ \ts b 0 (No) \} or a \{ \ts b 1 (Yes) \} state. The user
can select one and then the other but the routine will not return the final
selection until the user presses the done gadget.
\nw
Usage - '\{ \tc 15 askboolean <yestext> <notext> <preset>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \ts 15 askboolean Yes No 0\} ';
flag = result;
options;
See also: \{ \ts b \link "asknumber" "asknumber"
\link "askprop " "askprop"
\link "askrgb " "askrgb"
\link "askyn " "askyn"
\link "askstring" "askstring"\}
\endnode
\node "askfloat"
\title "Askfloat"
\next "asknumber"
\prev "askboolean"
\{ \tc 15 Askfloat \} - Presents the user with a floating point slide gadget.
Presents the user with a floating point, or decimal number, slide gadget.
The slide gadget can be set to have decimal value divisions. For example,
the slide gadget could be set to have a division for every tenth between the
maximum and minimum values.
\{ \ra \image "imdoc:Clips/bomb.pic" l 10 \cap
Warning: A slide gadget can only have 65,000 divisions. This means that you
could not specify a .00001 division setting between a minimum of 1 and a
maximum of 20.\}
\nw
Usage - '\{ \tc 15 askfloat <text> <initial value> <min value> <max value>
<interval>\} '
\wr
\{ \ts b text\} : The text should contain the name of the setting. As an
example, the script below specifies the setting as the radius for a gaussian
blur. The text should always be quoted using a double quote.
\{ \ts b initial value\} : The initial value is the default setting of the
gadget when it is presented to the user.
\{ \ts b min value\} : The minimum value is the lowest possible value for the
variable that you are specifying. The script below sets the minimum value to
1.0 .
\{ \ts b max value\} : The maximum value is the highest possible value for
the variable that you are specifying. The script below sets the maximum
value to 20.0 .
\{ \ts b interval\} : The interval is the specified divisions for the slide
gadget. This sets the actual interval between numbers. The script below
specifies an interval for every tenth.
\{ \ts bu Sample Script\} :
'area';
options results;
'\{ \tc 15 askfloat "Radius:" 3.5 1.0 20.0 .1\} ';
radius = result;
options;
'gaussian ' radius;
See also: \{ \nw \ts b \link "askboolean" "askboolean
\link "asknumber " "asknumber"
\link " askprop " "askprop"
\link " askrgb " "askrgb"
\link " askyn " "askyn"
\link "askstring " "askstring"\}
\endnode
\node "asknumber"
\title "Ask Number"
\next "askprop"
\prev "askfloat"
\{ \tc 15 Asknumber \} - Allows user to change a value in a text gadget.
This enables the user to edit or change a preset value in a text gadget.
\nw
Usage - '\{ \tc 15 asknumber <prompt> <numeric_preset>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \ts 15 asknumber Value: 127\} ';
value = result;
options;
See also: \{ \ts b \link "askprop " "askprop"
\link "askstring " "askstring"
\link "askboolean" "askboolean"
\link "askyn " "askyn"
\link "askrgb " "askrgb"\}
\endnode
\node "askprop"
\title "Ask Prop"
\next "askrgb"
\prev "asknumber"
\{ \tc 15 Askprop \} - Slider Prop for the selection of a numeric value.
Presents the user with a \{ \ts i slider \} for the selection of a numeric
value. The prop gadget is set to a preset value and the changed result is
returned.
\nw
Usage - '\{ \tc 15 askprop <prompt> <numeric preset> <min> <max>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 askprop "Red:" 50 0 255\} ';
intensity = result;
options;
See also: \{ \ts b \link "askboolean" "askboolean"
\link "asknumber " "asknumber"
\link "askrgb " "askrgb"
\link "askstring " "askstring"
\link "askyn " "askyn"\}
\endnode
\node "askrgb"
\title "Ask Red Green Blue"
\next "askstring"
\prev "askprop"
\{ \tc 15 Askrgb \} - Ask red green blue.
Presents a prop that allows the user to set RGB values to be used in the
execution of a script or macro.
\nw
Usage - '\{ \tc 15 askrgb\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 askrgb\} ';
colors = result;
parse var colors red','grn','blu;
options;
See also: \{ \ts b \link "askboolean" "askboolean"
\link "asknumber " "asknumber"
\link "askprop " "askprop"
\link "askstring " "askstring"
\link "askyn " "askyn"\}
\endnode
\node "askstring"
\title "Ask String"
\next "askyn"
\prev "askrgb"
\{ \tc 15 Askstring \} - Asks the user for a text string.
\nw
Usage - '\{ \tc 15 askstring <prompt> <preset>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \ts 15 askstring "Buffername:" "clip"\} 'newname;
newname = result;
options;
See also: \{ \ts b \link "askboolean" "askboolean"
\link "asknumber " "asknumber"
\link "askprop " "askprop"
\link "askrgb " "askrgb"
\link "askyn " "askyn"\}
\endnode
\node "askyn"
\title "Ask Yes No"
\next "aspect"
\prev "askstring"
\{ \tc 15 Askyn \} - Prompts user to select one of two gadgets.
A two button panel returning a 0 for the left most gadget and a 1 for the
right most gadget.
\nw
Usage - '\{ \tc 15 askyn <notext> <yestext>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 askyn Yes No\} ';
flag = result;
options;
See also: \{ \ts b \link "askboolean" "askboolean"
\link "asknumber " "asknumber"
\link "askprop " "askprop"
\link "askrgb " "askrgb"
\link "askstring " "askstring"\}
\endnode
\node "aspect"
\title "Aspect"
\next ""
\prev "askyn"
\{ \tc 15 setaspect \} - Allows the change of aspect ratio on any buffer.
\nw
Usage - '\{ \tc 15 setaspect <Buffer> <X> <Y>\} '
\{ \ts bu Sample Script\} :
options results;
'asknumber Xwide: 127';
Xwide = result;
'asknumber Ywide: 127';
Ywide = result;
options;
'\{ \tc 15 setaspect 0\} 'xwide ywide;
* User Interface: \{ \tc 15 Buffer Panel
Set Current Aspect Ratio\}
\endnode